import request from '@/utils/request'

// 全院住户关联列表
export function apiRoomHospitalUserLists(params: any) {
    return request.get({url: '/room.room_hospital_user/lists', params})
}

export function apiRoomHospitalPrintListsUserStat(params: any) {
    return request.get({url: '/room.room_hospital_user/print_lists_user_stat', params})
}

export function apiRoomHospitalPrintListsUserDevice(params: any) {
    return request.get({url: '/room.room_hospital_user/print_lists_user_device', params})
}

export function apiRoomHospitalPrintListsUserQuarter(params: any) {
    return request.get({url: '/room.room_hospital_user/print_lists_user_quarter', params})
}

export function apiRoomHospitalExportListsUserStat(params: any) {
    return request.get({url: '/room.room_hospital_user/export_lists_user_stat', params})
}

export function apiRoomHospitalExportListsUserDevice(params: any) {
    return request.get({url: '/room.room_hospital_user/export_lists_user_device', params})
}

export function apiRoomHospitalExportUserStat(params: any) {
    return request.get({url: '/room.room_hospital_user/export_season_stat', params})
}

export function apiRoomHospitalExportUserDevice(params: any) {
    return request.get({url: '/room.room_hospital_user/export_season_device', params})
}

export function apiRoomHospitalExportPrintQuarter(params: any) {
    return request.get({url: '/room.room_hospital_user/export_print_quarter', params})
}

// 添加全院住户关联
export function apiRoomHospitalUserAdd(params: any) {
    return request.post({url: '/room.room_hospital_user/add', params})
}

// 编辑全院住户关联
export function apiRoomHospitalUserEdit(params: any) {
    return request.post({url: '/room.room_hospital_user/edit', params})
}

// 删除全院住户关联
export function apiRoomHospitalUserDelete(params: any) {
    return request.post({url: '/room.room_hospital_user/delete', params})
}

// 全院住户关联详情
export function apiRoomHospitalUserDetail(params: any) {
    return request.get({url: '/room.room_hospital_user/detail', params})
}
